<?php

namespace App;

use Illuminate\Foundation\Auth\User as Authenticatable;

class Item extends Authenticatable
{

    protected $guarded = ['id'];

    public function poster()
    {
        return $this->belongsTo('App\User', 'user_id');
    }
}
